package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  MsgKnowledgeDO
 * @Description 快捷语
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("msg_knowledge")
public class MsgKnowledgeDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 分组id
     */
    @TableField(value = "group_id")
    private String groupId;
    /**
     * 用语标题
     */
    @TableField(value = "name")
    private String name;

    /**
     * 用语类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 消息类型
     */
    @TableField(value = "msg_type")
    private Integer msgType;
    /**
     * 消息内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 消息内容附件json
     */
    @TableField(value = "content_attachment")
    private String contentAttchment;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 同步到企微状态：0=未同步；1=已同步
     */
    @TableField(value = "sync_status")
    private Integer syncStatus;
    /**
     * 发布状态：0=禁用；1=启用
     */
    @TableField(value = "status")
    private Integer status;

}
